include ../Makefile.include


OBJS = wav_parser.o sndwav_common.o alsaSound.o


SDK_CFLAGS = -I../include -I../../../include

all : $(OBJS)
	$(AR) $(STATIC_LIBRARY_FLAGS) $(AUDIO_LIBRARY_TARGET) $(OBJS)
	cp $(AUDIO_LIBRARY_TARGET)  ../$(INTERAL_LIBRARY_DIR) -f

wav_parser.o: wav_parser.c
	$(CC) $(CFLAGS) $(SDK_CFLAGS) -c  $< -o  $@
	
sndwav_common.o: sndwav_common.c
	$(CC) $(CFLAGS) $(SDK_CFLAGS) -c  $< -o  $@
	
alsaSound.o: alsaSound.cpp
	$(CC) $(CFLAGS) $(SDK_CFLAGS) -c  $< -o  $@
	
	
clean:
	$(RM) *.o 
	$(RM)  *.a
	$(RM)  *.so
 


	




